import request from '@/utils/request'

// 查询路基路面渗水系数试验检测报告列表
export function listSsxsbgBsInfo(query) {
  return request({
    url: '/report_ljlm/ssxsbgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询路基路面渗水系数试验检测报告详细
export function getSsxsbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/ssxsbgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增路基路面渗水系数试验检测报告
export function addSsxsbgBsInfo(data) {
  return request({
    url: '/report_ljlm/ssxsbgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改路基路面渗水系数试验检测报告
export function updateSsxsbgBsInfo(data) {
  return request({
    url: '/report_ljlm/ssxsbgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除路基路面渗水系数试验检测报告
export function delSsxsbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/ssxsbgBsInfo/' + excelId,
    method: 'delete'
  })
}

// 获取检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_ljlm/ssxsbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
